﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="EmployInterviewSrhForm.aspx.cs" Inherits="App_Input_EmployInterviewSrhForm" Title="Untitled Page" %>
<%@ Import Namespace="Shpm.App.Input.Bean" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript" >
function popPrint(interviewId)
{
window.open('../Input/EmployInterviewPrintForm.aspx?INTERVIEW_ID='+interviewId,'EmployInterviewPrintForm','toolbars=0,resizable=1');

}
</script>
 <table width="100%">
    <tr>
        <td colspan="8">
            <script language="javascript">
                (new TitleBar('SearchBar', '检索条件')).showBar();
            </script>
        </td>
    </tr>
     <tr>
         <td colspan="8" style="height:25px">
         </td>
     </tr>
    <tr>
        <td colspan="8">
        </td>
    </tr>
    <tr>
        <td style="width:217px; height:25px">
        </td>
        <td style="width: 86px; height: 25px;">
            <asp:Label ID="Label1" runat="server" Text="面试时间："></asp:Label>
        </td>
        <td style="width: 263px; height: 25px;">
            <asp:TextBox ID="txtSendDate" runat="server" onfocus="new Calendar().show(this);"
                        Width="105px"></asp:TextBox>～
            <asp:TextBox ID="txtSendDateTo" runat="server" onfocus="new Calendar().show(this);"
                        Width="105px"></asp:TextBox>
        </td>
        <td style="width: 51px; height: 25px;">
            <asp:Label ID="Label2" runat="server" Text="姓名："></asp:Label></td>
        <td style="width: 157px; height: 25px;">
            <asp:TextBox ID="employName" runat="server" Width="113px"></asp:TextBox></td>
        <td style="width: 77px; height: 25px;">
            <asp:Label ID="Label3" runat="server" Text="申请职位："></asp:Label></td>
        <td style="height: 25px">
            <asp:DropDownList ID="applyEmploy" runat="server" DataTextField="JobName" DataValueField="JobId">
            </asp:DropDownList></td>
        <td style="height: 25px">
        </td>
    </tr>
    <tr>
        <td colspan="8"style="height: 25px">
        </td>
    </tr>
    <tr align="center">
        <td colspan="8" style="height: 22px">
            <asp:Button ID="btnSearch" runat="server" CssClass="button" OnClick="btnSearch_Click"
                Text=" 检 索 " Width="80px" />
                &nbsp;
            <asp:Button ID="addNew" runat="server" CssClass="button" OnClick="btnAddNew_Click"
                Text="新 建" Width="80px" /></td>
    </tr>
    <tr>
        <td colspan="8">
        </td>
    </tr>
 </table>
 <table width="100%">
    <tr>
        <td>
            <script language="javascript">
                (new TitleBar('SearchBar', '检索结果')).showBar();
            </script>
        </td>
    </tr>
    <tr>
        <td>
            <asp:GridView ID="interviewInfo" runat="server" AllowPaging="True" AutoGenerateColumns="False" CssClass="GridView_table"
             BorderStyle="Solid" BorderWidth="3px" DataKeyNames="InterviewId" OnRowDataBound="viewSrhRst_RowDataBound" OnPageIndexChanging="viewSrhRst_PageIndexChanging" OnRowCommand="interviewInfo_RowCommand" OnRowDeleting="interviewInfo_RowDeleting" OnRowEditing="interviewInfo_RowEditing">
             <PagerSettings Mode="NumericFirstLast" />
             <PagerStyle HorizontalAlign="Right" />
                <Columns>
                    <asp:BoundField HeaderText="序号" DataField="InterviewId">
                        <ItemStyle CssClass="GridView_item_center" />
                        <HeaderStyle CssClass="GridView_head_grayblue" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="姓名" DataField="InterviewName">
                        <ItemStyle CssClass="GridView_item_center" />
                        <HeaderStyle CssClass="GridView_head_grayblue" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="应聘职位"  DataField="JobName">
                        <ItemStyle CssClass="GridView_item_center" />
                        <HeaderStyle CssClass="GridView_head_grayblue" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="应聘部门" DataField="DepartName">
                        <ItemStyle CssClass="GridView_item_center" />
                        <HeaderStyle CssClass="GridView_head_grayblue" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="联系电话" DataField="InterviewTelphone">
                        <ItemStyle CssClass="GridView_item_center" />
                        <HeaderStyle CssClass="GridView_head_grayblue" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="面试时间" DataField="InterviewDate" DataFormatString="{0:yyyy/MM/dd}" HtmlEncode="False">
                        <ItemStyle CssClass="GridView_item_center" />
                        <HeaderStyle CssClass="GridView_head_grayblue" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="面试结果" DataField="">
                        <ItemStyle CssClass="GridView_item_center" />
                        <HeaderStyle CssClass="GridView_head_grayblue" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="定岗定薪" DataField="">
                        <ItemStyle CssClass="GridView_item_center" />
                        <HeaderStyle CssClass="GridView_head_grayblue" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="编辑" ShowHeader="False">
                        <ItemStyle CssClass="GridView_item_center" />
                        <HeaderStyle CssClass="GridView_head_grayblue" Width="5%" />
                        <ItemTemplate>
                            <asp:ImageButton ID="ImageButton1" runat="server" CausesValidation="False"  Enabled = "true" CommandName="Edit" CommandArgument="<%# ((EmployInterviewBean)Container.DataItem).InterviewId %>"
                                ImageUrl="~/images/info.gif" />
                        </ItemTemplate>
                    </asp:TemplateField>    
                    <asp:TemplateField HeaderText="删除" ShowHeader="False">
                        <ItemStyle CssClass="GridView_item_center" />
                        <HeaderStyle CssClass="GridView_head_grayblue" Width="5%" />
                        <ItemTemplate>
                            <asp:ImageButton ID="ImageButton2" runat="server" CausesValidation="False"  Enabled = "true" CommandName="Delete"
                                ImageUrl="~/images/delete.jpg" OnClientClick="javascript:return window.confirm('是否删除该条信息？')"/>
                        </ItemTemplate>
                    </asp:TemplateField>   
                    <asp:TemplateField HeaderText="评估" ShowHeader="False">
                        <ItemStyle CssClass="GridView_item_center" />
                        <HeaderStyle CssClass="GridView_head_grayblue" Width="5%" />
                        <ItemTemplate>
                            <asp:ImageButton ID="ImageButton3" runat="server" CausesValidation="False"  Enabled = "true" CommandName="Appraisal" CommandArgument="<%# ((EmployInterviewBean)Container.DataItem).InterviewId %>"
                                ImageUrl="~/images/in.gif" />
                        </ItemTemplate>
                    </asp:TemplateField> 
                    <asp:TemplateField HeaderText="录取通知" ShowHeader="False">
                        <ItemStyle CssClass="GridView_item_center" />
                        <HeaderStyle CssClass="GridView_head_grayblue" Width="5%" />
                        <ItemTemplate>
                            
                                <a href="#" onclick="javascript:popPrint('<%# ((EmployInterviewBean)Container.DataItem).InterviewId %>');">
                                        <img id="searchImg" runat="server" src="~/images/in.gif" border="0" />
                                        </a>
                                
                        </ItemTemplate>
                    </asp:TemplateField>       
                </Columns>
            </asp:GridView>
        </td>
    </tr>
    <tr>
    </tr>
    <tr>
    </tr>
 </table>
</asp:Content>

